import {
	Api
} from '@/common/api'
import {
	ApiBase
} from '@/common/api-base.js';


class PhraseClass extends ApiBase {
    listAllPhrases(query) {
    	return Api.get(`${this._namespace}/phrases/list/all`,query);
    }
	addPhrases(data) {
		return Api.post(`${this._namespace}/phrases`,data);
	}
	deleteUserPhrases(ids) {
		return Api.delete(`${this._namespace}/phrases/del/user/${ids}`);
	}

}

export const PhraseClassApi = new PhraseClass('/system')
